﻿using System;
using System.Collections.Generic;
using ExpenseSystem.Common.BaseModel;

namespace ExpenseSystem.Model
{
    [TableName("SAM_SALESPOINTQUOTE")]
    public class SalesPointQuoteModel:NormalModel
    {
        private long _quoteid;
        private long _salespointid;
        public virtual long QuoteId
        {
            get { return _quoteid; }
            set
            {
                if (_quoteid == value)
                    return;
                _quoteid = value;
                if (!PropertyUpdated.Contains("QuoteId"))
                    PropertyUpdated.Add("QuoteId");
            }
        }
        public virtual long SalesPointId
        {
            get { return _salespointid; }
            set
            {
                if (_salespointid == value)
                    return;
                _salespointid = value;
                if (!PropertyUpdated.Contains("SalesPointId"))
                    PropertyUpdated.Add("SalesPointId");
            }
        }
    }
}
